package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.User;

import java.util.List;

public interface UserService {
    User findByUsername(String username);

    void add(Integer[] checkItemIds,User user);

    PageResult findPage(Integer currentPage,Integer pageSize,String queryString);

    User findById(Integer id);

    void edit(Integer[] checkItemIds,User user);

    void deleteById(Integer id);

    List<User> findAll();

    Boolean checkUsername(String username);
}
